<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Navo Portable Library: navo/algorithm/nonlinear/binary/splaylnk.h文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- 制作者 Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Navo Portable Library&#160;<span id="projectnumber">Ver 1.0.20120827</span></div>
   <div id="projectbrief">Provides generic platform independent facilities.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="annotated.html"><span>数据结构</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>全局定义</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">数据结构</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#typedef-members">类型定义</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<h1>navo/algorithm/nonlinear/binary/splaylnk.h文件参考</h1>  </div>
</div>
<div class="contents">

<p>Splay linked tree.  
<a href="#_details">更多...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="cdef_8h_source.html">../../../port/cdef.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="integer_8h_source.html">../../../port/integer.h</a>&quot;</code><br/>
</div>
<p><a href="splaylnk_8h_source.html">浏览该文件的源代码。</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
数据结构</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct____splaylnk__node.html">__splaylnk_node</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">伸展树节点  <a href="struct____splaylnk__node.html#_details">更多...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsplaylnk__root.html">splaylnk_root</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">树根  <a href="structsplaylnk__root.html#_details">更多...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsplaylnk__info.html">splaylnk_info</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">树信息表  <a href="structsplaylnk__info.html#_details">更多...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
宏定义</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a580ba8d07a20b8a3c1a29d277c0435b2"></a><!-- doxytag: member="splaylnk.h::__NV_SPLAYLNK__" ref="a580ba8d07a20b8a3c1a29d277c0435b2" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>__NV_SPLAYLNK__</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga459d1dd1b0388a3116016c6f6f0bdd76">SPLAYLNK_ROOT</a>(name)&#160;&#160;&#160;<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> name = {NULL}</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">定义一个名为name的树根，并对其初始化  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga459d1dd1b0388a3116016c6f6f0bdd76"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga9913599b9f3015bb4519fd0bf8f2bd55">SPLAYLNK_NODE</a>(name)&#160;&#160;&#160;<a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> name = {NULL, NULL, NULL}</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">定义一个名为name的节点，并对其初始化  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga9913599b9f3015bb4519fd0bf8f2bd55"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga97c4beedce8280f4c0da51e39e9e4dba">SPLAYLNK_INFO</a>(name)&#160;&#160;&#160;<a class="el" href="structsplaylnk__info.html">splaylnk_info</a> name = {0, 0, 0}</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">定义一个名为name的树信息表，并对其初始化  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga97c4beedce8280f4c0da51e39e9e4dba"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6cfeb8883fb82004328680139dfbd127"></a><!-- doxytag: member="splaylnk.h::splaylnk_inc" ref="ga6cfeb8883fb82004328680139dfbd127" args="(itr)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga6cfeb8883fb82004328680139dfbd127">splaylnk_inc</a>(itr)&#160;&#160;&#160;((itr) = splaylnk_next(itr))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">迭代器递增 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga116d136bf37eb1a0ffb58157e3c06f23"></a><!-- doxytag: member="splaylnk.h::splaylnk_dec" ref="ga116d136bf37eb1a0ffb58157e3c06f23" args="(itr)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga116d136bf37eb1a0ffb58157e3c06f23">splaylnk_dec</a>(itr)&#160;&#160;&#160;((itr) = splaylnk_prev(itr))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">迭代器递减 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2ccc72af8c152a19ede061ea516805bc"></a><!-- doxytag: member="splaylnk.h::splaylnk_inc_later" ref="ga2ccc72af8c152a19ede061ea516805bc" args="(itr)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga2ccc72af8c152a19ede061ea516805bc">splaylnk_inc_later</a>(itr)&#160;&#160;&#160;__splaylnk_inc_later(itr, &amp;(itr))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">迭代器后自增 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafef1af602fbe8324144e108ea3eb3de4"></a><!-- doxytag: member="splaylnk.h::splaylnk_dec_later" ref="gafef1af602fbe8324144e108ea3eb3de4" args="(itr)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gafef1af602fbe8324144e108ea3eb3de4">splaylnk_dec_later</a>(itr)&#160;&#160;&#160;__splaylnk_dec_later(itr, &amp;(itr))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">迭代器后自减 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga89842a2c5280c53314fcca579a625b39">splaylnk_foreach</a>(_begin, _end, fn, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">正向遍历_begin到_end的节点，并为每一个节点调用回调函数或宏  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga89842a2c5280c53314fcca579a625b39"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga2b8fc5d56894e2cdbe104e6841ac0a0b">splaylnk_reverse_foreach</a>(_rbegin, _rend, fn, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">逆向遍历_begin到_end的节点，并为每一个节点调用回调函数或宏  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga2b8fc5d56894e2cdbe104e6841ac0a0b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaee5f30c6073ff1b5ff61aa49a4e1b3e6">SPLAYLNK_RECURSE_PROC</a>(name, type, param)&#160;&#160;&#160;void name(type * param)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">定义递归遍历回调函数  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaee5f30c6073ff1b5ff61aa49a4e1b3e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga35422cff5b679c86164f7d5f4fc9f33e">splaylnk_recurse_foreach</a>(root, fn, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">正向递归遍历整个树  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga35422cff5b679c86164f7d5f4fc9f33e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaa5cd9e3a0e58373e79af482c36d30ce7">splaylnk_recurse_reverse_foreach</a>(root, fn, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">逆向递归遍历整个树  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaa5cd9e3a0e58373e79af482c36d30ce7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaea739ab35bbd5434a9ab35468ef78bb5">splaylnk_search</a>(root, newly, greater, res, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">搜索树中的某个节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaea739ab35bbd5434a9ab35468ef78bb5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga0a9f60007851a8069b5cd7968f2829cd">splaylnk_insert</a>(root, newly, greater, res, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">插入新节点(伸展)  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga0a9f60007851a8069b5cd7968f2829cd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga1a27b1f3785635d8776aa390682cb54b">splaylnk_semi_insert</a>(root, newly, greater, res, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">插入新节点(半伸展)  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga1a27b1f3785635d8776aa390682cb54b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga3b4c9997a7ac852a073efff7579e298b">splaylnk_serialize</a>(root, buf, type, member)&#160;&#160;&#160;__splaylnk_serialize(root, (void**)(buf), offset_of(type, member))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">将树进行序列化为一个有序序列  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga3b4c9997a7ac852a073efff7579e298b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaf97a19ddb43b97be82103097ecad127b">splaylnk_deserialize</a>(root, buf, cnt, type, member)&#160;&#160;&#160;__splaylnk_deserialize(root, (char**)(buf), cnt, offset_of(type, member))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">根据树的序列进行反序列化为一个完整的树  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaf97a19ddb43b97be82103097ecad127b"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
类型定义</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga86d63f86085373735ef646def7b11623"></a><!-- doxytag: member="splaylnk.h::splaylnk_node" ref="ga86d63f86085373735ef646def7b11623" args="" -->
typedef struct <a class="el" href="struct____splaylnk__node.html">__splaylnk_node</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga86d63f86085373735ef646def7b11623">splaylnk_node</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">节点 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad419d6203da790205c3ced27085c87ad"></a><!-- doxytag: member="splaylnk.h::splaylnk_iter" ref="gad419d6203da790205c3ced27085c87ad" args="" -->
typedef struct <a class="el" href="struct____splaylnk__node.html">__splaylnk_node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gad419d6203da790205c3ced27085c87ad">splaylnk_iter</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">迭代器 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac07a47df24523e66c8f37863d68b3d59"></a><!-- doxytag: member="splaylnk.h::splaylnk_pr1" ref="gac07a47df24523e66c8f37863d68b3d59" args=")(splaylnk_node *)" -->
typedef int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gac07a47df24523e66c8f37863d68b3d59">splaylnk_pr1</a> )(<a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">单参数回调函数指针 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga379a0cb9429df29cf1fdda06a4f6f106"></a><!-- doxytag: member="splaylnk.h::splaylnk_pr2" ref="ga379a0cb9429df29cf1fdda06a4f6f106" args=")(splaylnk_node *, splaylnk_node *)" -->
typedef int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga379a0cb9429df29cf1fdda06a4f6f106">splaylnk_pr2</a> )(<a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *, <a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">双参数回调函数指针 <br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
函数</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga96a0390c48c3efce2bfcc0d8e169d02c">splaylnk_count</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">获取树的节点总数  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga96a0390c48c3efce2bfcc0d8e169d02c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga184ab3bc7e5856c525fa69b1c0894dc7">splaylnk_distance</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> first, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> last)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">计算两个节点的迭代距离  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga184ab3bc7e5856c525fa69b1c0894dc7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga54bf3a666d7d44370c76f84ebb016dfa">splaylnk_index_of</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> itr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">计算迭代器的正向索引  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga54bf3a666d7d44370c76f84ebb016dfa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gab24b1de0094f3caac4b04b22ecc9006e">splaylnk_reverse_index_of</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> itr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">计算迭代器的逆向索引  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gab24b1de0094f3caac4b04b22ecc9006e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gab8d130bbc63ec59e932b631666893aeb">splaylnk_depth</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">计算树的深度  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gab8d130bbc63ec59e932b631666893aeb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gad3e72453d2045135cb2f4ea45e170ebf">splaylnk_leafs</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">计算树的叶子数  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gad3e72453d2045135cb2f4ea45e170ebf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga047a6df159da0ec6e9b865a81cdbd2ad">splaylnk_get_info</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, <a class="el" href="structsplaylnk__info.html">splaylnk_info</a> *info)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">获取树的信息，包括节点数、深度、叶子数  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga047a6df159da0ec6e9b865a81cdbd2ad"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gada68906d6a788a0c39d67127f037e875">splaylnk_splay</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, <a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *node, <a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *parent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">对节点进行伸展调整  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gada68906d6a788a0c39d67127f037e875"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaaa0524284fb74c268dde8f245219f34f">splaylnk_semisplay</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, <a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *node, <a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *parent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">对节点进行半伸展调整  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaaa0524284fb74c268dde8f245219f34f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga5a5a89278bf4369487a3fbd73fa76f3f">splaylnk_erase</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, <a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *entry)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">移除某个节点(伸展)  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga5a5a89278bf4369487a3fbd73fa76f3f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga967ec8dd9063af617b682ea2760f1829">splaylnk_semierase</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, <a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *entry)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">移除某个节点(半伸展)  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga967ec8dd9063af617b682ea2760f1829"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaf8b8aa25afe97aafae97b716b29ef460">splaylnk_erases</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> begin, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> end, <a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gac07a47df24523e66c8f37863d68b3d59">splaylnk_pr1</a> erase_handler)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">移除区域内的节点(伸展)  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaf8b8aa25afe97aafae97b716b29ef460"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaabe47843d251d2e8d3d9560e163af0ef">splaylnk_semierases</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> begin, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> end, <a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gac07a47df24523e66c8f37863d68b3d59">splaylnk_pr1</a> erase_handler)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">移除区域内的节点(半伸展)  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaabe47843d251d2e8d3d9560e163af0ef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gac499691fdb6e46b0246fc7912c306282">splaylnk_init</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化树根  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gac499691fdb6e46b0246fc7912c306282"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga328c554736cee464fd77d3e0e4135a05">splaylnk_empty</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断树是否为空  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga328c554736cee464fd77d3e0e4135a05"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa1534c1916d544ccede080abe45958db"></a><!-- doxytag: member="splaylnk.h::__splaylnk_singular" ref="gaa1534c1916d544ccede080abe45958db" args="(splaylnk_node *root)" -->
static int&#160;</td><td class="memItemRight" valign="bottom"><b>__splaylnk_singular</b> (<a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *root)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gad807475fbd018c7899fc328d891ce1e8">splaylnk_singular</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断树是否只有单个节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gad807475fbd018c7899fc328d891ce1e8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga0d09988d46c22176f1f37ad3da562781">splaylnk_serialable</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断树是否可以序列化  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga0d09988d46c22176f1f37ad3da562781"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga208a3a7318ac6710042ecdc877368ef2">splaylnk_left</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到左子节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga208a3a7318ac6710042ecdc877368ef2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga83961643a16aafa16240f70e67960bc1">splaylnk_right</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到右子节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga83961643a16aafa16240f70e67960bc1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga59c8e5d7719e7d97ef4d7b15ac31a4ff">splaylnk_parent</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到父节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga59c8e5d7719e7d97ef4d7b15ac31a4ff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gacda2bc982d5a1762266955df6ae730b1">splaylnk_is_root</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> itr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断当前节点是否是根节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gacda2bc982d5a1762266955df6ae730b1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga07e12040dce0fbf4e87bb924cf43614b">splaylnk_is_leaf</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> itr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断当前节点是否是叶子节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga07e12040dce0fbf4e87bb924cf43614b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga23d333a84fee4942e550609f5cf08f6b">splaylnk_link</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> newly, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> parent, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> *plink)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">链接两个节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga23d333a84fee4942e550609f5cf08f6b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga0bc6c60eab55d8b1ff543b3bbd430277">splaylnk_set_parent_if</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *node, <a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *parent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">仅在node不为空时，设置node的父节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga0bc6c60eab55d8b1ff543b3bbd430277"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gabefb35778426452b53bc6a2a462a7548">splaylnk_node_init</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gabefb35778426452b53bc6a2a462a7548"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaf66fad4729c1d2764ec32eee101b89d7">splaylnk_iter_replace</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> victim, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> newly)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">用新节点替换旧节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaf66fad4729c1d2764ec32eee101b89d7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaf49efefae965d599b54b7006507430da">splaylnk_replace</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *victim, <a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *newly)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">用新的树根替换旧树根  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaf49efefae965d599b54b7006507430da"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga9d10b0aaef216b49f5f3b979746c130b">splaylnk_swap</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *a, <a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">交换两个树  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga9d10b0aaef216b49f5f3b979746c130b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaa1f8902531ce41d20ed3fd88d6f8de69">splaylnk_exist</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> itr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断一个节点是否存在于树中  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gaa1f8902531ce41d20ed3fd88d6f8de69"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga8ad8cae719494a3f15d181e8b9f4dc5b">splaylnk_at</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, size_t index)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到正向索引对应的节点的迭代器  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga8ad8cae719494a3f15d181e8b9f4dc5b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga2588af8914cc7c4399ca3b4dcd3a8d1e">splaylnk_reverse_at</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, size_t index)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到逆向索引对应的节点的迭代器  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga2588af8914cc7c4399ca3b4dcd3a8d1e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga4ea94db03f94aba84fb246f474a87df4">splaylnk_front</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到树的最左端节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga4ea94db03f94aba84fb246f474a87df4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gab9dc4ef36e511ad52d1f16c167b1facd">splaylnk_back</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到树的最右端节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gab9dc4ef36e511ad52d1f16c167b1facd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga2e0c221b5e448b08815f57083ab7f88d">splaylnk_begin</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到指向正向起始位置的迭代器  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga2e0c221b5e448b08815f57083ab7f88d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga974718d49f7e2ffec9a0512f75144d10">splaylnk_end</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到指向正向终止位置的迭代器  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga974718d49f7e2ffec9a0512f75144d10"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga195070ea85dfd413a26d9d060cd0ec5c">splaylnk_end_of</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> cur)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到当前迭代器的正向终止位置  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga195070ea85dfd413a26d9d060cd0ec5c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gab60f4495e69b5698230fd1e6f4f655ec">splaylnk_rbegin</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到指向逆向起始位置的迭代器  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gab60f4495e69b5698230fd1e6f4f655ec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga35ce6d814ceb12ede0d7ce2dc6c319f4">splaylnk_rend</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到指向逆向终止位置的迭代器  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga35ce6d814ceb12ede0d7ce2dc6c319f4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga6df1dae359180f19397c1ef01bbe1ccc">splaylnk_rend_of</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> cur)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到当前迭代器的逆向终止位置  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga6df1dae359180f19397c1ef01bbe1ccc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga6fc0567f0310442cab65da24be50f6c6">splaylnk_next</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> cur)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到当前节点的中序后继节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga6fc0567f0310442cab65da24be50f6c6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga31c7ab1c0c602384c51537bc8c36cc4b">splaylnk_prev</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> cur)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到当前节点的中序前驱节点  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga31c7ab1c0c602384c51537bc8c36cc4b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga270dd16e098a16b9631eb0a8f712ffb4">splaylnk_advance</a> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> cur, int dist)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">给迭代器增加一段距离或减小一段距离  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga270dd16e098a16b9631eb0a8f712ffb4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga7ce5153a6d1b663eae23b1afcf97d0c7">splaylnk_clear</a> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, <a class="el" href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#gac07a47df24523e66c8f37863d68b3d59">splaylnk_pr1</a> erase_handler)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">清空树  <a href="group___xE4_xBC_xB8_xE5_xB1_x95_xE6_xA0_x91.html#ga7ce5153a6d1b663eae23b1afcf97d0c7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1f937b1e9eec0a3fffb84c64323e01b3"></a><!-- doxytag: member="splaylnk.h::__splaylnk_inc_later" ref="ga1f937b1e9eec0a3fffb84c64323e01b3" args="(splaylnk_iter cur, splaylnk_iter *p)" -->
static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><b>__splaylnk_inc_later</b> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> cur, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> *p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga689f0d658c1af15659e120d3580450bf"></a><!-- doxytag: member="splaylnk.h::__splaylnk_dec_later" ref="ga689f0d658c1af15659e120d3580450bf" args="(splaylnk_iter cur, splaylnk_iter *p)" -->
static <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><b>__splaylnk_dec_later</b> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> cur, <a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> *p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaeba0886c52c9dceea48852dbc561d0fa"></a><!-- doxytag: member="splaylnk.h::__do_splaylnk_recurse_foreach" ref="gaeba0886c52c9dceea48852dbc561d0fa" args="(splaylnk_iter cur, void(*fn)(void *), size_t offset)" -->
NV_API void&#160;</td><td class="memItemRight" valign="bottom"><b>__do_splaylnk_recurse_foreach</b> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> cur, void(*fn)(void *), size_t offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3c48df0336ea5f2fa12b6e054032a84b"></a><!-- doxytag: member="splaylnk.h::__do_splaylnk_recurse_reverse_foreach" ref="ga3c48df0336ea5f2fa12b6e054032a84b" args="(splaylnk_iter cur, void(*fn)(void *), size_t offset)" -->
NV_API void&#160;</td><td class="memItemRight" valign="bottom"><b>__do_splaylnk_recurse_reverse_foreach</b> (<a class="el" href="struct____splaylnk__node.html">splaylnk_iter</a> cur, void(*fn)(void *), size_t offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga76880bd4ef3c886c3fdab04a4de17ccb"></a><!-- doxytag: member="splaylnk.h::__splaylnk_recurse_foreach" ref="ga76880bd4ef3c886c3fdab04a4de17ccb" args="(splaylnk_root *root, void(*fn)(void *), size_t offset)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><b>__splaylnk_recurse_foreach</b> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, void(*fn)(void *), size_t offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga676106ab6724c46a442fac7794e60a1c"></a><!-- doxytag: member="splaylnk.h::__splaylnk_recurse_reverse_foreach" ref="ga676106ab6724c46a442fac7794e60a1c" args="(splaylnk_root *root, void(*fn)(void *), size_t offset)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><b>__splaylnk_recurse_reverse_foreach</b> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, void(*fn)(void *), size_t offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaad2e41591f9a119c3fb7133700181b0e"></a><!-- doxytag: member="splaylnk.h::__splaylnk_serialize" ref="gaad2e41591f9a119c3fb7133700181b0e" args="(splaylnk_root *root, void **buf, size_t offset)" -->
NV_API void&#160;</td><td class="memItemRight" valign="bottom"><b>__splaylnk_serialize</b> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, void **buf, size_t offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gabdc2359a82255be25503cf2ae3d1fcb0"></a><!-- doxytag: member="splaylnk.h::__splaylnk_deserialize" ref="gabdc2359a82255be25503cf2ae3d1fcb0" args="(splaylnk_root *root, char **buf, size_t cnt, size_t offset)" -->
NV_API void&#160;</td><td class="memItemRight" valign="bottom"><b>__splaylnk_deserialize</b> (<a class="el" href="structsplaylnk__root.html">splaylnk_root</a> *root, char **buf, size_t cnt, size_t offset)</td></tr>
</table>
<hr/><a name="_details"></a><h2>详细描述</h2>
<div class="textblock"><p>Splay linked tree. </p>
<p>Copyright (C) 2012-2022, Henry Kwok 郭弘扬. All rights reserved </p>

<p>在文件<a class="el" href="splaylnk_8h_source.html">splaylnk.h</a>中定义。</p>
</div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>数据结构</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>类型定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>宏定义</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated at 2015年七月16日 星期四 12:00:40 for Navo Portable Library by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
